//
//  announModel.m
//  Inforcollection
//
//  Created by ocean on 16/10/24.
//  Copyright © 2016年 oceansoft.liw. All rights reserved.
//

#import "announModel.h"
//checkIime = "<null>";
//content = "\U516c\U544a2\U5185\U5bb9\U6d4b\U8bd5\U4fe1\U606f";
//isChecked = 0;
//noticeId = 62;
//noticeReveiveRecordId = 109;
//publishTime = "2016-10-26";
//publishUser = "\U6731\U4f1f\U5bb6";
//reveiveBranchName = "\U6d4b\U8bd5\U673a\U6784";
//reveiveBranchid = "0000_265";
//reveiveGridid = "0000_265_21";
//reveiverId = 21;
//title = "\U516c\U544a2";
@implementation announModel
+(instancetype)UserModelWithDic:(NSDictionary *)dict
{
    return [[self alloc]initWithDic:dict];
}

-(instancetype)initWithDic:(NSDictionary *)dict
{
    if (self=[super init])
    {
        self.content=[self checkStr:dict[@"content"]];
        
        self.isChecked=[self checkStr:dict[@"isChecked"]];
        
        self.noticeId=[self checkStr:dict[@"noticeId"]];
        
        self.noticeReveiveRecordId=[self checkStr:dict[@"noticeReveiveRecordId"]];
        
        self.publishTime=[self checkStr:dict[@"publishTime"]];
        
        self.publishUser=[self checkStr:dict[@"publishUser"]];
        
        self.reveiveBranchName=[self checkStr:dict[@"reveiveBranchName"]];
        
        self.reveiveBranchid=[self checkStr:dict[@"reveiveBranchid"]];
        
        self.reveiveGridid=[self checkStr:dict[@"reveiveGridid"]];
        self.reveiverId=[self checkStr:dict[@"reveiverId"]];
        self.title=[self checkStr:dict[@"title"]];
    }
    return self;
}
@end
